//默认样式
html, body, div, ul, li, h1, h2, h3, h4, h5, h6, p, dl, dt, dd, ol, form, input, textarea, th, td, select {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
}

body {
    font-family: "Microsoft YaHei";
    font-size: 14px;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

ul, ol {
    list-style: none;
}

img {
    border: none;
    vertical-align: middle;
}

a {
    text-decoration: none;
    color: #232323;
}

table {
    border-collapse: collapse;
    table-layout: fixed;
}

input, textarea {
    outline: none;
    border: none;
}

textarea {
    resize: none;
    overflow: auto;
}

.clearfix {
    zoom: 1;
}

.clearfix:after {
    content: ".";
    width: 0;
    height: 0;
    visibility: hidden;
    display: block;
    clear: both;
    overflow: hidden;
}

.fl {
    float: left
}

.fr {
    float: right
}

.tl {
    text-align: left;
}

.tc {
    text-align: center
}

.tr {
    text-align: right;
}

.bf {
    background-color: #fff;
}

.fs16 {
    font-size: 16px;
}

li {
    list-style: none;
}

/*解决ios滚动卡顿*/
.ios-touch {
    -webkit-overflow-scrolling: touch;
    overflow: scroll;
    height: 100%;
}

.ellipse {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inline {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

em {
    font-style: normal;
}

//去掉input搜索框后面自带的清除按钮
input[type=search]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.plr15 {
    padding-left: 15px;
    padding-right: 15px;
}

.ptb15 {
    padding-top: 15px;
    padding-bottom: 15px;
}

.ptb10 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.plr10 {
    padding-left: 10px;
    padding-right: 10px;
}

.pb50 {
    padding-bottom: 50px;
}

.mtb10 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.mlr10 {
    margin-left: 10px;
    margin-right: 10px;
}

//纵向布局
.flex-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

//横向布局
.flex-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-1 {
    flex: 1;
    width: 100%;
    height: 100%;
}

.fs14 {
    font-size: 14px;
}

//隐藏滚动条
::-webkit-scrollbar {
    display: none
}

/*显示行数*/
.row1 {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 1 !important;
    overflow: hidden !important;
}

.row2 {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
}

.row3 {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset;
}

input[type=text]:focus,
input[type=password]:focus,
textarea:focus {
    -webkit-box-shadow: 0 0 0 1000px white inset;
}

/*滚动区域*/
.scroll-t {
    position: fixed;
    top: 45px;
    bottom: 0;
    width: 100%;
    min-width: 100%;
    overflow: scroll;
    z-index: 999;
}
